---
layout: default
---
<div class="post-container">
    <div class="row">
        <!-- post -->
        <div class="col-lg-8 col-lg-offset-1
        col-md-8 col-md-offset-1
        col-sm-10 col-sm-offset-1
        col-xs-10 col-xs-offset-1">
            <!-- post header -->
            <div class="post-header">
                <h1>{{ page.title }}</h1>
                <h2>{{ page.subtitle }}</h2>
                {% if page.tags %}
                <p class="tags">
                    {% for tag in page.tags %}
                    <a href="{{ site.url }}/tag?flag={{ tag | url_encode }}">
                        <i class="fa fa-tags"></i>{{ tag }}
                    </a>
                    {% endfor %}
                </p>
                {% endif %}
                {% if page.update %}
                <p class="attach-info">作者 {{ page.author }} 更新于 {{ page.date | date: "%Y年%m月%d日" }} </p>
                {% else %}
                <p class="attach-info">作者 {{ page.author }} 发布于 {{ page.date | date: "%Y年%m月%d日" }} </p>
                {% endif %}
            </div>
            <!-- /end post header -->
            <!-- content -->
            <div class="post-content">
                {{ content }}
                <!-- pager -->
                <ul class="pager">
                    {% if page.previous.url %}
                    <li class="previous">
                        <a href="{{ page.previous.url | replace: '//', '/' }}" title="{{page.previous.title}}">
                            <span class="txt">
                                <span class="flag"><i class="fa fa-angle-double-left"></i>上一篇:&nbsp;</span>
                                {{page.previous.title}}
                            </span>
                        </a>
                    </li>
                    {% endif %}
                    {% if page.next.url %}
                    <li class="next">
                        <a href="{{ page.next.url | replace: '//', '/' }}" title="{{page.next.title}}">
                            <span class="flag"><i class="fa fa-angle-double-right"></i>下一篇: &nbsp;</span>
                            <span class="txt">{{page.next.title}}</span>
                        </a>
                    </li>
                    {% endif %}
                </ul>
                <!-- /end pager -->
            </div>
            <!-- /end content -->
        </div>
        <!-- /end post -->
        <!-- catalog -->
        <div class="col-lg-2 col-lg-offset-0 col-md-2 col-md-offset-0 hidden-sm hidden-xs post-sidebar">
            <div class="page-catalog">
                <a class="title-catalog" href="javascript:;">
                    目录<i class="fa fa-angle-down"></i>
                </a>
                <ul class="catalog-body"></ul>
            </div>
        </div>
        <!-- /end catalog -->
    </div>
</div>
<div id="copy-hint">
    <i class="fa fa-check-circle-o"></i>
    <span>复制成功</span>
</div>
<script src="{{ site.url }}/resource/js/markdown.js"></script>